<template>
	<div id="evaluate">
		
	</div>
</template>

<script>
	export default {
		data() {
			return {
				UserID: "",
				type: ""
			}
		},
		created() {
			let self = this;
			self.UserID = self.$route.params.UserID;
			self.type = self.$route.params.type;
			if(window.ClearH5){
				window.ClearH5.ClearHistory()
			}
			if(self.type == 9) {
				self.$router.replace({
					name: "EvaluateDetailPresident",
					params: {
						UserID: self.UserID,
						type: self.type,
						num:0
					}
				})
			} else if(self.type == 5) {
				self.$router.replace({
					name: "EvaluateDetailProfession",
					params: {
						UserID: self.UserID,
						type: self.type,
						num:0
					}
				})
			}else if(self.type == 3) {
				self.$router.replace({
					name: "EvaluateDetailTeacher",
					params: {
						UserID: self.UserID,
						type: self.type,
						num:0
					}
				})
			}
		},
	}
</script>

<style scoped>
	
</style>